package com.htj.powerbank.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
// 如果到的是sql下的包(java.sql.Date)，get操作时封装的结果为null、put/post操作时会抛415异常
import java.util.Date;

@Data
public class User_pm {

    private Integer id;
    private Integer u_id;
    private Integer pd_id;
    private String ads;
    private Double paym;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;
}